import junit.framework.TestCase;

public class MainTest extends TestCase {

    public void testInsert() {
        System.out.println("Insert");
        BinaryHeap arbol = new BinaryHeap();
        arbol.insert(1);
        int expResult = 1;
        int result = arbol.size();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
    }
    
    public void testMin() {
        System.out.println("Min");
        BinaryHeap arbol = new BinaryHeap();
        arbol.insert(1);
        arbol.insert(2);
        int expResult = 1;
        int result = (Integer)arbol.findMin();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
    }
   
    public void testDeleteMin() {
        System.out.println("Delete Min");
        BinaryHeap arbol = new BinaryHeap();
        arbol.insert(1);
        arbol.insert(2);
        int expResult = 2;
        arbol.deleteMin();
        int result = (Integer)arbol.findMin();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
    }
    
    public void testIsEmpty() {
        System.out.println("Is Empty");
        BinaryHeap arbol = new BinaryHeap();
        arbol.insert(1);
        boolean expResult = false;
        boolean result = arbol.isEmpty();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
    }
    
    public void testSize() {
        System.out.println("Size");
        BinaryHeap arbol = new BinaryHeap();
        arbol.insert(1);
        int expResult = 1;
        int result = arbol.size();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
    }
   
    public void testMakeEmpty() {
        System.out.println("Make Empty");
    	BinaryHeap arbol = new BinaryHeap();
        arbol.insert(1);
        arbol.makeEmpty();
        boolean expResult = true;
        boolean result = arbol.isEmpty();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
    }
    


}
